package com.itheima.clientAndService01;

public class MainClass02 {
    public static void main(String[] args) {
        Box<String> box1 = new Box<>();
        box1.setTime("张三");
        System.out.println(box1.getTime());

        Box<Integer> box2 = new Box<>();
        box2.setTime(23);
        System.out.println(box2.getTime());
    }
}
